package com.ktjiaoyu.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ktjiaoyu.server.pojo.Employee;
import com.ktjiaoyu.server.pojo.Leavebill;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jjx
 * @since 2024-03-23
 */
public interface LeavebillMapper extends BaseMapper<Leavebill> {
    IPage<Leavebill> getLeaveBillListPage(Page<Leavebill> page,
                                  @Param("title") String title,
                                  @Param("content") String content,
                                  @Param("sort") String sort,
                                  @Param("beginTime") String beginTime,
                                  @Param("endTime") String endTime,
                                  @Param("userId")Integer userId);
}
